package mysql

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Phone     string `gorm:"type:char(11);not null; commit:'电话号码'"`
	Password  string `gorm:"type:char(32);not null; commit:'密码'"`
	ClassName string `gorm:"type:varchar(150);not null; commit:'分类名称'"`
	Title     string `gorm:"type:varchar(150);not null; commit:'标题'"`
	Image     string `gorm:"type:varchar(100);not null; commit:'图片'"`
	Show      string `gorm:"type:varchar(150);not null; commit:'详情'"`
}
